package com.cyj.crm02.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cyj.crm02.entity.Employee;
import com.cyj.crm02.entity.Role;

public interface RoleService extends IService<Role> {
    IPage<Role> selectRoleList(Page<Role> page);

    Integer addRoleDepartment(Role role, Integer departmentId);

    Integer addRolePermission(Role role, Integer PermissionId);

    Integer update(Role role, Integer departmentId);
}
